package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

import java.util.Set;

public interface PermissionDao {
    Set<Permission> findByRoleId(Integer roleId);
    void add(Permission permission);
    Page<Permission> selectByCondition(String queryString);
    public Permission findById(Integer id);
    public void edit(Permission permission);
    public void deleteById(Integer id);
}
